package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 客户表实体Bean
 */
@TableName("t_connection")
public class ConnectionBean {
    /**客户id*/
    @TableId(value = "pk_connectionId",type = IdType.AUTO)
    private Integer connectionId;
    /**客户名称*/
    @TableField("c_name")
    private String name;
    /**负责人*/
    @TableField("c_director")
    private String director;
    /**负责人电话*/
    @TableField("c_directorPhone")
    private String directorPhone;
    /**办公地址*/
    @TableField("c_address")
    private String address;
    /**邮箱*/
    @TableField("c_email")
    private String email;
    /**经营范围*/
    @TableField("c_scope")
    private String scope;
    public ConnectionBean() {
    }

    public ConnectionBean(String name, String director, String directorPhone, String address, String email, String scope) {
        this.name = name;
        this.director = director;
        this.directorPhone = directorPhone;
        this.address = address;
        this.email = email;
        this.scope = scope;
    }

    public Integer getConnectionId() {
        return connectionId;
    }

    public void setConnectionId(Integer connectionId) {
        this.connectionId = connectionId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getDirectorPhone() {
        return directorPhone;
    }

    public void setDirectorPhone(String directorPhone) {
        this.directorPhone = directorPhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    @Override
    public String toString() {
        return "ConnectionBean{" +
                "connectionId=" + connectionId +
                ", name='" + name + '\'' +
                ", director='" + director + '\'' +
                ", directorPhone='" + directorPhone + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", scope='" + scope + '\'' +
                '}'+'\n';
    }
}
